<?php

    
    //$result=$beta->getExcelData('R:/PHP-Project/DormitoryManagementSystem/upload/eeeeee.xlsx','xlsx');
    //echo $result[0]['B'];

    die('{"jsonrpc":"2.0","result":null,"id":"id","data":null,"code":}');
    
    //echo json_encode($result,JSON_UNESCAPED_UNICODE);
    //$beta=new DormCenterBLL();
    //$result=$beta->getInstructorList(0,1,0,0,10,'');
    //$result=$beta->getInstructorInfoList('1234561',1,0);
    //$d=new DormCenterDAL();
    //$result=$d->getInstructorList(2,0,0,0,11,'');

    //$result=$beta->getInstructorDormitoryNumber('1234562',0,0);
    //$result=$beta->getInstructorList(0,0,0,0,5,'');

    //$alljson='[{"instructorID":"1234561","grade":"2014","major":"1","apartmentID":1,"floor":"1","dormitoryID":"101","beds":"2"}]';
    //$obj=json_decode($alljson);
    //$action,$instructorID,$grade,$major,$property,$apartmentID,$floor,$page,$pageSize
    //$result=$beta->getInstructorDormitoryList('1234561',0,0,0,0,0,0,2);
    //$beta=new ApartmentDAL();
    //$result=$beta->getApartmentIDMax();
    //$result=$beta->getSearchList(1,'1234561',2014,1,0,1,2,101,0,10);
    //$removeList=json_decode('[{"uid":111222333,"grade":"2018","major":"1"}]');
    //$json=json_decode('[{"student_id":"201413008005","name":"测试","gender":"1","phone":"13888766788","grade":"2018","major":"1"}]');
    /*$json='[{"student_id":"201413008005","name":"测试","gender":"a1","phone":"138887667188","grade":"2018","major":"1","class":"1"}]';
    $obj=json_decode($json);
    $beta=new StudentsInformationRegisterBLL();
    $result=$beta->updateStudentInfomation('1234561',$obj);*/
    /*$validateError=array();
    $error=array();
    $validate=new Validate();
    foreach($obj[0] as $key=>$value){
        if(!$validate->regular($key,$value)){
            $error[]=$key;
        }  
    }
    $validateError[0]=$error;
    
    echo count($validateError,1);*/
    
    
    //phpinfo();

    //$json='{"department":["0"],"role":"1","uid":"12345678","password":"e10adc3949ba59abbe56e057f20f883e","name":"测试","phone":"12345678900"}';
    //$json='{"users":["12345678"]}';
    //$json='{"id":"1","floor":1,"page":0}';
    //$a=new ApartmentBLL();
    //$message=$a->getApartmentCount(0,0,'');
    //$json='{"role":"1","uid":"12345678","name":"测试修改","phone":"12345678900","departments":["0"]}';
    //$dataArray=json_decode($json);
    //$adminRoleBLL=new AdminRoleBLL();
    //$pageMax=$adminRoleBLL->getUserListPage(0,30,'');
    /*$roleList=$adminRoleBLL->getRoleList();
    foreach($roleList as $role){
        if(array_key_exists('cc',$role)){
            echo $role['name'];
        }else{
            echo '1-';
        }
    }*/
    //$dormCenterBLL=new DormCenterBLL();
    //$message=$dormCenterBLL->getInstructorCount($status,$major,$grade,$search);
    //echo $message['count'];
    //$p=new PublicDataBLL();
	//用户列表
	//$message=$adminRoleBLL->updateUserInformation($dataArray);
    //echo intval('d');
    //$apartment=new ApartmentBLL();
    //$message=$apartment->getApartmentDormitoryList($dataArray);
    //echo $pageMax;
    //echo json_encode($message,JSON_UNESCAPED_UNICODE);
    
?>